package com.manage.competition.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * Create with IDEA
 *
 * @Author:Vantcy
 * @Date: Create in 14:52 2019/1/23
 * @Description:
 */


@Entity
@Table(name = "manage_competition")
@Data
public class Competition {

    @Id
    private Long id;

    @Column
    private Integer status;

    @Column
    private Long informationId;

    @Column
    private Long organizerId;

    @Column
    private Long advertisePictureId;

    @Column
    private Long rewardId;

    @Column
    private Long noticeBoardId;

    @Column
    private Long contactId;

    @Column
    private Long signupInformationId;

    @Column
    private Long examPaperId;

    @Column
    private Long enrollCollectionId;

    @Column
    private Boolean competitionDynamics;

    @Column
    private Boolean rankingList;

    @Column
    private String createUser;

    @Column
    private String updateUser;

    @Column
    private Date createDate;

    @Column
    private Date updateDate;
}